include $(top_srcdir)/common.mk

AM_CPPFLAGS += -I$(top_srcdir)/common -I$(top_srcdir)/lib -I$(top_srcdir)/api -I$(top_srcdir)/js 

lib_LTLIBRARIES = libfairshare.la libpreempt.la  libthreshold.la libreservation.la

libfairshare_la_SOURCES = policy.fairshare.c
libfairshare_la_LDFLAGS = -no-undefined -version-info 0:1
libfairshare_la_LIBADD = $(top_builddir)/common/libtools.la 

libpreempt_la_SOURCES = policy.preempt.c
libpreempt_la_LDFLAGS = -no-undefined -version-info 0:1
libpreempt_la_LIBADD =  $(top_builddir)/common/libtools.la

libthreshold_la_SOURCES = policy.threshold.c
libthreshold_la_LDFLAGS = -no-undefined -version-info 0:1
libthreshold_la_LIBADD =  $(top_builddir)/common/libtools.la

libreservation_la_SOURCES = policy.reservation.c
libreservation_la_LDFLAGS = -no-undefined -version-info 0:1
libreservation_la_LIBADD =  $(top_builddir)/common/libtools.la
